.class Lcom/waiqin365/base/login/d/d;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/base/login/c/a;

.field final synthetic b:Lcom/waiqin365/base/login/d/a;


# direct methods
.method constructor <init>(Lcom/waiqin365/base/login/d/a;Lcom/waiqin365/base/login/c/a;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iput-object p2, p0, Lcom/waiqin365/base/login/d/d;->a:Lcom/waiqin365/base/login/c/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iget-object v0, v0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/d;->a:Lcom/waiqin365/base/login/c/a;

    invoke-static {v0, v1}, Lcom/waiqin365/base/login/d/a;->a(Lcom/waiqin365/base/login/d/a;Lcom/waiqin365/base/login/c/a;)V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/c/a/a;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iget-object v1, v1, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    sget v2, Lcom/waiqin365/lightwork/tracker/c/a/a;->b:I

    new-instance v3, Ljava/util/Date;

    invoke-direct {v3}, Ljava/util/Date;-><init>()V

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightwork/tracker/c/a/a;-><init>(Landroid/content/Context;ILjava/util/Date;)V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/c/b;

    const/4 v2, 0x0

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightwork/tracker/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/c/a/b;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/c/b;->start()V

    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "NOTALLOW_LOC"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "notallow"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iget-object v1, v1, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iget-object v0, v0, Lcom/waiqin365/base/login/d/a;->a:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    :try_start_1
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "NOTALLOW_LOC"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string/jumbo v1, "notallow"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "locobj"

    iget-object v2, p0, Lcom/waiqin365/base/login/d/d;->a:Lcom/waiqin365/base/login/c/a;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/base/login/d/d;->b:Lcom/waiqin365/base/login/d/a;

    iget-object v1, v1, Lcom/waiqin365/base/login/d/a;->c:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_0

    :catch_1
    move-exception v0

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0064
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
